package com.ruoyi.loss.service;

import com.ruoyi.loss.domain.WellWorkRecord;
import com.ruoyi.loss.domain.vo.WellWorkRecordVo;
import com.ruoyi.loss.domain.bo.WellWorkRecordBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 漏井作业记录Service接口
 *
 * @author toteny
 * @date 2024-01-02
 */
public interface IWellWorkRecordService {

    /**
     * 查询漏井作业记录
     */
    WellWorkRecordVo queryById(Long id);

    /**
     * 查询漏井作业记录列表
     */
    TableDataInfo<WellWorkRecordVo> queryPageList(WellWorkRecordBo bo, PageQuery pageQuery);

    /**
     * 查询漏井作业记录列表
     */
    List<WellWorkRecordVo> queryList(WellWorkRecordBo bo);

    /**
     * 新增漏井作业记录
     */
    Boolean insertByBo(WellWorkRecordBo bo);

    /**
     * 修改漏井作业记录
     */
    Boolean updateByBo(WellWorkRecordBo bo);

    /**
     * 校验并批量删除漏井作业记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
